module.exports = class extends think.Model {
  get relation() {
    return {
      roleinfo: {
        type: think.Model.HAS_ONE,
        model: 'auth_role',
        key: 'role_id',
        fKey: 'id',
        field: 'id,desc,description'
      }
    };
  }
};
